//
//  AXFWebViewController.m
//  AIXF
//
//  Created by Macx on 2017/7/9.
//  Copyright © 2017年 Macx. All rights reserved.
//

#import "AXFWebViewController.h"

@interface AXFWebViewController ()

@property (strong, nonatomic)UIWebView *webView;

@end

@implementation AXFWebViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
}

- (void)setUrlStr:(NSString *)urlStr
{
    
    _webView = [[UIWebView alloc] initWithFrame:self.view.bounds];
    
    [self.view addSubview:_webView];
    
    NSURL *url = [NSURL URLWithString:urlStr];
    
    NSURLRequest *req = [NSURLRequest requestWithURL:url];
    
    [self.webView loadRequest:req];
    
}




@end
